package com.ql.pojo.sheBeiGuanLi;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

  public class WeiXiu {//维修
  private int wId;//申请单Id
  private String wCode;//维修/报废 编号
  private String wTpye;//型号
  private int wNumber;//数量

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date sqTime;//申请日期
  private String sqPerson;//申请人(医生表获取)
  private String spPerson;//审批人

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date spTime;//审批日期
  private String spZt;//审批状态(0:未通过 1:通过)

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date wxTime;//维修登记时间
  private String wxZt;//维修/报废状态(0:未维修 1:维修中 2:已维修 3:报废)

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date wxhTime;//维修后登记时间
  private String jianding;//鉴定(0:可维修 1:不可维修)
  private double price;//维修金额
  private double totalPrice;//维修总金额

    //add for kName 1 4
    private String docName;//医生名称

    public String getDocName() {
      return docName;
    }

    public void setDocName(String docName) {
      this.docName = docName;
    }

    public WeiXiu() {
    }

    public WeiXiu(int wId, String wCode, String wTpye, int wNumber, Date sqTime, String sqPerson, String jianding) {
      this.wId = wId;
      this.wCode = wCode;
      this.wTpye = wTpye;
      this.wNumber = wNumber;
      this.sqTime = sqTime;
      this.sqPerson = sqPerson;
      this.jianding = jianding;
    }

    public WeiXiu(int wId, String wCode, String wTpye, int wNumber, Date sqTime, String sqPerson, String spPerson, Date spTime, String spZt, Date wxTime, String wxZt, Date wxhTime, String jianding, double price, double totalPrice) {
      this.wId = wId;
      this.wCode = wCode;
      this.wTpye = wTpye;
      this.wNumber = wNumber;
      this.sqTime = sqTime;
      this.sqPerson = sqPerson;
      this.spPerson = spPerson;
      this.spTime = spTime;
      this.spZt = spZt;
      this.wxTime = wxTime;
      this.wxZt = wxZt;
      this.wxhTime = wxhTime;
      this.jianding = jianding;
      this.price = price;
      this.totalPrice = totalPrice;
    }

    public int getwId() {
      return wId;
    }

    public void setwId(int wId) {
      this.wId = wId;
    }

    public String getwCode() {
      return wCode;
    }

    public void setwCode(String wCode) {
      this.wCode = wCode;
    }

    public String getwTpye() {
      return wTpye;
    }

    public void setwTpye(String wTpye) {
      this.wTpye = wTpye;
    }

    public int getwNumber() {
      return wNumber;
    }

    public void setwNumber(int wNumber) {
      this.wNumber = wNumber;
    }

    public Date getSqTime() {
      return sqTime;
    }

    public void setSqTime(Date sqTime) {
      this.sqTime = sqTime;
    }

    public String getSqPerson() {
      return sqPerson;
    }

    public void setSqPerson(String sqPerson) {
      this.sqPerson = sqPerson;
    }

    public String getSpPerson() {
      return spPerson;
    }

    public void setSpPerson(String spPerson) {
      this.spPerson = spPerson;
    }

    public Date getSpTime() {
      return spTime;
    }

    public void setSpTime(Date spTime) {
      this.spTime = spTime;
    }

    public String getSpZt() {
      return spZt;
    }

    public void setSpZt(String spZt) {
      this.spZt = spZt;
    }

    public Date getWxTime() {
      return wxTime;
    }

    public void setWxTime(Date wxTime) {
      this.wxTime = wxTime;
    }

    public String getWxZt() {
      return wxZt;
    }

    public void setWxZt(String wxZt) {
      this.wxZt = wxZt;
    }

    public Date getWxhTime() {
      return wxhTime;
    }

    public void setWxhTime(Date wxhTime) {
      this.wxhTime = wxhTime;
    }

    public String getJianding() {
      return jianding;
    }

    public void setJianding(String jianding) {
      this.jianding = jianding;
    }

    public double getPrice() {
      return price;
    }

    public void setPrice(double price) {
      this.price = price;
    }

    public double getTotalPrice() {
      return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
      this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
      return "Weixiu{" +
              "wId=" + wId +
              ", wCode='" + wCode + '\'' +
              ", wTpye='" + wTpye + '\'' +
              ", wNumber=" + wNumber +
              ", sqTime=" + sqTime +
              ", sqPerson='" + sqPerson + '\'' +
              ", spPerson='" + spPerson + '\'' +
              ", spTime=" + spTime +
              ", spZt='" + spZt + '\'' +
              ", wxTime=" + wxTime +
              ", wxZt='" + wxZt + '\'' +
              ", wxhTime=" + wxhTime +
              ", jianding='" + jianding + '\'' +
              ", price=" + price +
              ", totalPrice=" + totalPrice +
              '}';
    }
  }
